<?php

namespace app\admin\model;

use think\Db;
use think\Model;
class User extends BaseModel{



    public function get_pageList($where){
        return $this->alias("a")
            ->join("yks_userinfo b","a.id = b.user_id","LEFT")
            ->field("a.id,a.account,a.mobile,a.realname,a.level,b.total_profit,b.cash,b.a_team,b.b_team,b.c_team,b.c_time")
            ->where($where)
            ->order("a.add_time desc")
            ->paginate();
    }

}
?>